<%@page import="com.tis.interfaces.controller.commons.CommonController"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page pageEncoding="UTF-8" %>
<%@ page session="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="pc" uri="/WEB-INF/tlds/privacy_customs" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html>
<html>
<head>
<title>Smart Monitor Interface Logs</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="dr_chatree@hotmail.com (tel:(66)0879215115)" />
<meta name="keywords" content="ERP, Sales and Marketing, CRM, POS, SAP, PROMIS, Interface, SAP Interface, PROMIS Interface" />
<meta name="description" content="ERP, Sales and Marketing, CRM, POS, SAP, PROMIS, Interface, SAP Interface, PROMIS Interface" />
<link href="<pc:GetUrlUriTags value="/resources/css/demohtml/dropdown/themes/default/helper.css" />" media="screen" rel="stylesheet" type="text/css" />
<link rel="icon" href="<pc:GetUrlUriTags value="/resources/image/menu/tis_new_logo.png" />" type="image/png" sizes="32x32">
<link rel="shortcut icon" href="<pc:GetUrlUriTags value="/resources/image/menu/tis_new_favicon.ico" />" />

<!-- DR.TREE INCLUDE -->
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/jquery/jquery-1.10.2.js" />" > </script>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/jsClock/jsclock.js" />" > </script>

<script type="text/javascript">

function FnSivamtime() {
	var str_clock = sivamtime();
	
	$("#fieldClock").text("DATE TIME : " + str_clock);
	setTimeout("FnSivamtime()", 1000);
}

$(document).ready(function(){	
	FnSivamtime();
});

</script>

<!-- Beginning of compulsory code below -->
<link href="<pc:GetUrlUriTags value="/resources/css/demohtml/dropdown/dropdown.css" />" media="screen" rel="stylesheet" type="text/css" />
<link href="<pc:GetUrlUriTags value="/resources/css/demohtml/dropdown/themes/default/default.css" />" media="screen" rel="stylesheet" type="text/css" />

<!--[if lt IE 7]>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.js" />"></script>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.dropdown.js" />"></script>
<![endif]-->

<!--[if lt IE 8]>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.js" />"></script>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.dropdown.js" />"></script>
<![endif]-->

<!--[if lt IE 9]>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.js" />"></script>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.dropdown.js" />"></script>
<![endif]-->

<!--[if lt IE 10]>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.js" />"></script>
<script type="text/javascript" src="<pc:GetUrlUriTags value="/resources/javascript/demohtml/dropdown/jquery/jquery.dropdown.js" />"></script>
<![endif]-->

<!-- / END -->
</head>
<body>
	<h1>
		<table style="width: 100%; border: 0px; padding: 0xp; margin: 0px;">
			<tr>
				<td style="text-align: left;">
					<a style="text-decoration: none;color: #000; font-size:22px; font-weight: bold;" href="<pc:GetUrlUriTags value="" />">
						<img style="border-width: 0px; margin: 0px; padding: 0px; " src="<pc:GetUrlUriTags value="/resources/image/menu/tis_new_logo.png" />"/>					
						Smart Monitor Interface Logs
					</a>
				</td>
				<td style="text-align: right;">
					<span id="fieldClock" style="font-size: 14px; font-weight:lighter;"></span> &nbsp;		
					<%
						if(new CommonController().UserJspLoginValidation(request)){
					%>
					  	<label><pc:UserSecurityInformation prefix="Welcome&nbsp;" /> 
					  	</label>
					  	<form:form method="post" action="/smartlogs/logout.htm">
					  		<input id="btnLogOut" type="submit" value="Logout" />
					  	</form:form>
					<% } %>
				</td>
			</tr>
		</table>
	</h1>
<%
if(new CommonController().UserJspLoginValidation(request)){
%>
<table  width="100%" border="0" style="margin: 0px; padding: 0px; background-color: #F8F8F8; ">
	<tr style="margin: 0px; padding: 0px;"> 
	<td height="30px"  width="32px" style="margin: 0px; padding: 0px;">
<!-- Beginning of compulsory code below -->
<ul id="nav" class="dropdown dropdown-horizontal">
	<li class="dir">Pending Jobs
		<ul>	
			<li class="dir" style="width: 200px;"><a href="<pc:GetUrlUriTags value="" />">Customer (SD)</a>
				<ul style="width: 200px;">
					<li><a href="<pc:GetUrlUriTags value="/sd/outbound/sales/customer/backlogs/index" />">Customer</a></li>
				</ul>
			</li>	
			<li class="dir" style="width: 200px;"><a href="<pc:GetUrlUriTags value="" />">Financial Accounting (FI)</a>
				<ul style="width: 200px;">
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/invoice/backlogs/index" />">Invoice</a></li>
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/receipt/backlogs/index" />">Receipt</a></li>
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/creditnote/backlogs/index" />">Credit Note</a></li>
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/depositreturn/backlogs/index" />">Deposit Return</a></li>
				</ul>
			</li>			
			<li class="dir" style="width: 200px;"><a href="<pc:GetUrlUriTags value="" />">Logs</a>
				<ul style="width: 200px;">
					<li><a href="<pc:GetUrlUriTags value="/application/logs/list/index" />">Application Logs</a></li>
				</ul>
			</li>
		</ul>
	</li>		
	<li class="dir">Financial Accounting (FI)
		<ul>
			<li><a href="<pc:GetUrlUriTags value="/sd/outbound/sales/customer/index" />">Customer Master</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/invoice/index" />">Invoice Outbound</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/receipt/index" />">Receipt Outbound</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/deposit/return/index" />"> Deposit Return Outbound</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/creditnote/index" />">Credit Note Outbound</a></li>
		</ul>
	</li>	
	<li class="dir rtl"><a href="#">About &amp; Contact Us</a>
		<ul style="width: 200px;">
			<li><a href="<pc:GetUrlUriTags value="/about/" />">About</a></li>
			<!-- 
			<li class="dir"><a href="./">Map &amp; Driving Directions</a>
				<ul style="width: 200px;">
					<li><a href="./">Map</a></li>
					<li><a href="./">Driving Directions</a></li>
				</ul>
			</li>
			 -->
			<li><a href="https://www.facebook.com/tis.co.th">Facebook</a></li>
			<%
				com.tis.database.entitys.security.AdUserLogin adUserLogin = new com.tis.interfaces.controller.commons.CommonController().GetAdUserLoginSession(request);			
				if(adUserLogin != null) {				
					if(adUserLogin.getUserLogin().equals("F{||9||}PZtTgA4k5q{||9||}9o6Jzik6w{||4||}{||4||}"))
					{
						%>
							<li><a href="<pc:GetUrlUriTags value="/security/user/register/list" />">Users</a></li>
						<%
					}
				}
			%>
		</ul>
	</li>
</ul>
<!-- / END -->
	</tr>
	</td>
</table>
<% } %>

<div >

</div>
	
</body>
</html>